const express = require('express')
const router = express.Router()
const menu = require('../controller/menu')

router.post('/getRouters', (req, res, next) => {
    menu.routers(req.body).then((data) => {
        res.json(data)
    })
})

router.get('/getMenuThree', (req, res, next) => {
    menu.menuThree(req.body).then((data) => {
        res.json(data)
    })
})


module.exports = router